#pragma once

#include "corebase_global.h"
#include <osgViewer/CompositeViewer>

namespace CoreBase
{
	class Viewer;

	class COREBASE_EXPORT CompositeViewerExp : public osgViewer::CompositeViewer
	{
	public:
		CompositeViewerExp();
		~CompositeViewerExp();

		virtual void frame(double simulationTime=USE_REFERENCE_TIME);
		void eventEnable(bool b);
	protected:
		void testViewChange();
		bool												_eventEnable;
		std::vector<CoreBase::Viewer*>						_viewerVector;
	};
}